<%@ page language="java" contentType="text/html; charset=US-ASCII" pageEncoding="US-ASCII"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<link rel="stylesheet" type="text/css" href="/css/mycss.css">
<link rel="stylesheet" type="text/css" href="/css/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/css/easyui/themes/icon.css">
<script type="text/javascript" src="/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript">
	function showcontent(page) {

		if (page == "audit") {
			$('#loadedPage').load("/jsp/legal/auditTrail.jsp");
		}else if (page == "password") {
			$('#loadedPage').load("/jsp/legal/changePassword.jsp");
		}
	}
</script>

<title>Home</title>
</head>
<body>
	<div class="easyui-layout" style="width: 1420px; height: 690px;">
		<div region="west" split="true" title="Menu" style="width: 260px;">
			<br />
			<p class="welcome">Welcome,
			<s:property value="#session.currentName" />
			&nbsp;&nbsp;
			<s:url action="logout" namespace="/" var="logout"></s:url>
			<s:a href="%{logout}">logout</s:a></p>
			<ul class="linkList">
				<li><a href="javascript:void(0)" onclick="showcontent('audit')">audit trail</a></li>
				<li><a href="javascript:void(0)" onclick="showcontent('password')">change password</a></li>

			</ul>
		</div>
		<div id="content" region="center" title="Welcome" style="padding: 5px;">
			<div id="loadedPage"></div>
		</div>
	</div>

</body>
</html>